<?php

@extract($_POST);

$txtname = stripslashes($txtname);

$txtcomp = stripslashes($txtcomp);

$txtph = stripslashes($txtph);

$cmbser = stripslashes($cmbser);

$txtemail = stripslashes($txtemail);

$txtmsg = stripslashes($txtmsg);

$subject= "Enquiry about : (" . $cmbser .")";

$text = "\nFrom : " . $txtname ."\nContact Number: " . $txtph . "\n" . $txtcomp . "\n" . $txtmsg; 

mail('info@synapseconsultant.com',$subject ,$text,"From: $txtname <$txtemail>");

header("location:index.html");

?>



